package com.example.dao;


import java.util.Optional;

import com.example.bean.blockchainCompanyInfo;
import com.example.bean.vo.BlockchainCompanyInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;


@Repository
public interface BlockchainCompanyInfoRepository extends JpaRepository<BlockchainCompanyInfo, Long>, JpaSpecificationExecutor<BlockchainCompanyInfo> {

	Optional<BlockchainCompanyInfo> findByUserIdAndIsDelete(Integer userId, boolean b);

	//BlockchainCompanyInfo findByName(String name);

	BlockchainCompanyInfo findByGeneralCreditCode(String ids);

}
